<template>
    <view  v-show='requrl.length>0' >
        <web-view :webview-styles="webviewStyles" :src="requrl"></web-view>
    </view>
</template>

<script>
	export default {
		data() {
			return {
				requrl:'https://www.baidu.com',
				webviewStyles: {
                     color: '#FF3333'//progress: false //必须要设置为false
                }
			}
		},
		onLoad(option) {
			this.requrl = "https://"+option.url;
		},
		methods: {
		}
	}
</script>

<style>

</style>
